﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 交通工具
{
    internal class Car : Vehicles
    {
        private int seats;
        
        public Car(string brand, string color, int seats): base(brand, color){
            this.seats = seats;
        }

        public void ShowCar()
        {
            Console.WriteLine($"小汽车信息: 商标:{brand}, 颜色:{color}, 座位数:{seats}");
        }
    }
}
